<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\model;

use think\Model;

/**
 * @mixin Model
 */
class PushReportRecordModel extends Model
{
    /**
     * @var int 待同步
     */
    public const STATUS_NO = 0;

    /**
     * @var int 同步中
     */
    public const STATUS_WAIT_SYNC = 1;

    /**
     * @var int 已同步
     */
    public const STATUS_SYNC = 2;

    /**
     * @var int 待发送
     */
    public const STATUS_WAIT_SEND = 3;

    /**
     * @var int 发送成功
     */
    public const STATUS_SEND = 4;
    /**
     * @var int 历史数据未同步
     */
    public const SYNC_NO = 0;
    /**
     * @var int 历史数据以同步
     */
    public const SYNC_YES = 1;
    /**
     * @var int 历史数据同步失败
     */
    public const SYNC_FAIL = 2;
    /**
     * @var int 发送失败
     */
    public const STATUS_FAIL = 5;

    protected $autoWriteTimestamp = true;

    protected $name = 'push_report_record';
}
